package com.supemarket.dao;

import com.supemarket.entity.Member;
import com.supemarket.entity.admin;
import com.supemarket.entity.commodity;
import com.supemarket.entity.purchase;
import com.supemarket.entity.sale;
import com.supemarket.entity.staff;
import com.supemarket.entity.supplier;

public interface UpdateSupemarket {

	/**
	 * 修改管理员
	 * @param admin
	 * @return
	 */
	public int adminup(admin admin);
	/**
	 * 修改商品信息
	 * @param commodity
	 * @return
	 */
	public int commoditieup(commodity commodity);
	/**
	 * 修改购物卡信息
	 * @param menber
	 * @return
	 */
	public int memberup(Member menber);
	/**
	 * 修改进货记录
	 * @param purchase
	 * @return
	 */
	public int purchaseup(purchase purchase);
	/**
	 * 修改销售记录
	 * @param sale
	 * @return
	 */
	public int saleup(sale sale);
	/**
	 * 修改员工信息
	 * @param staff
	 * @return
	 */
	public int staffup(staff staff);
	/**
	 * 修改供货商
	 * @param supplier
	 * @return
	 */
	public int supplierup(supplier supplier);
}
